import { defineStore } from 'pinia'
import { computed } from 'vue'

export const useCounterStore = defineStore({
    id: "data",
    state: () => ({
        taglet: "",
        formListName: [],
        spform: {},
        ddform: {},
        formmodel: {},
        common:{}
    }),
    getters: {

    },
    actions: {
        add() {
            this.common = { ...this.formmodel }
            this.spform = this.formmodel
            this.formmodel = {}

        }
    }
})